
import axios from 'axios'

import Qs from 'Qs'

const service = axios.create({
  baseURL: 'api',
  timeout: 1000,
  headers: {'Content-Type': 'application/x-www-form-urlencoded'},
  transformRequest: [function(data) {
    return Qs.stringify(data);
  }],
});
export default service
